<%--
  Created by IntelliJ IDEA.
  User: hadoop
  Date: 17-6-13
  Time: 下午1:17
  测试ServletConfig
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>ServletConfig</title>
</head>
<body>
<p>config.getServletName(): <%=config.getServletName()%></p>
<p>
    <%=config.getInitParameter("info")%>
</p>
<p>
    使用jsp:include显示信息:
    <jsp:include page="jsp-result.jsp">
        <jsp:param name="info" value='<%= config.getInitParameter("info")%>'/>
    </jsp:include>
</p>
</body>
</html>
